package myky.com.doctorapp.entity;

/**
 * Created by Mr.li on 2018/7/16.
 */

public class DownLoadFileEntity {
    private String fileName;
    private String url;
    private Integer length;
    private Integer finished;
    private boolean isStop = false;//是否暂停下载
    private boolean isDownLoading = false;//是否正在下载

    public DownLoadFileEntity(String fileName, String url) {
        this.fileName = fileName;
        this.url = url;
    }
    public DownLoadFileEntity() {

    }
    public boolean isStop() {
        return isStop;
    }

    public void setStop(boolean stop) {
        isStop = stop;
    }

    public boolean isDownLoading() {
        return isDownLoading;
    }

    public void setDownLoading(boolean downLoading) {
        isDownLoading = downLoading;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }
}
